package Test;

public class Fu {
    static {
        System.out.println("父类静态块");
        i = 10;
    }

    static int i;

    public Fu() {
        System.out.println("父类构造方法");
        System.out.println(i);
    }

    {
        System.out.println("父类代码块");
        System.out.println(i);
    }

    public void study(){
        System.out.println("学习");
    }
}
